//
//  AgencyVideoShowViewController.m
//  Edumap
//
//  Created by 刘建峰 on 16/8/6.
//  Copyright © 2016年 yuf. All rights reserved.
//

#import "AgencyVideoShowViewController.h"

@interface AgencyVideoShowViewController ()
@property (weak, nonatomic) IBOutlet UIView *navView;
@property (weak, nonatomic) IBOutlet UIWebView *webView;


@end

@implementation AgencyVideoShowViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self initViewLayout];
}

- (void)initViewLayout{
    [self adaptiveViewLayout:self.view];
    [self adaptiveViewLayout:self.navView];
    NSURLRequest *req = [[NSURLRequest alloc] initWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://%@%@%@",IP_Address_Fresh,JY_queryMallStoreExtendsDetail,_videoId]]];
    [_webView loadRequest:req];
}

- (IBAction)back:(id)sender {
    [self backBtn];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
